package utility;

public class ProblemSpecifics {

	private String problemStatement;
	private long result;
	private boolean solved;

	public ProblemSpecifics(String problemText) {
		problemStatement = problemText;
	}

	public void markAsSolved() {
		solved = true;
	}

	public void addToResult(Integer intToAdd) {
		result = result + intToAdd;
	}

	public String stateTheProblem() {
		return problemStatement;
	}

	public long reportResult() {
		return result;
	}

	public boolean isSolved() {
		return solved;
	}

	public void setResultAndMarkSolved(long res) {
		result = res;
		solved = true;
	}
}
